package com.hp.service;

import com.hp.entity.Video;
import com.hp.result.DataGridResultInfo;
import com.hp.result.SubmitResultInfo;
import org.springframework.web.multipart.commons.CommonsMultipartFile;

import javax.servlet.http.HttpServletRequest;

public interface VideoService {


    public DataGridResultInfo page(int page, int rows,Video video) throws Exception;

    public SubmitResultInfo addsubmit(CommonsMultipartFile file, Video video, HttpServletRequest request)throws Exception;

    public Video findById(String id) throws Exception;

    public SubmitResultInfo updatesubmit(CommonsMultipartFile file, Video video, HttpServletRequest request)throws Exception;

    public SubmitResultInfo delete(String id, HttpServletRequest request) throws Exception;

    public SubmitResultInfo sendSubmit(String kid, String id) throws Exception;

}
